#!/usr/bin/env bash

function do_build()  {
    cmake -DPROTOBUF_USE_DLLS=ON -DBUILD_SHARED_LIBS=ON -DCMAKE_CXX_STANDARD=17 -DCMAKE_INSTALL_PREFIX=${HOME}/sys ..
    make -j
}

# make install 以后可能需要ldconfig

do_build
